SPLINES

Section: Misc. Reference Manual Pages (LOCAL)
Index Return to Main Contents
 

NAME

splines - displays bouncing balls used as control points for a spline curve  

SYNOPSIS


splines [-abefrsuxBEFIRTW][-w width][-h height][-o filename][-m index][-c colorwheel][-n count][-N nballs][-l limit][-p nsteps][-D delay][-S naptime][-X xradius][-Y yradius]  

DESCRIPTION

splines Randomly places the specified number of control points and sets each of them off on a randomly calculated linear trajectory. The balls bounce off of the walls and are used as control points for either a B-spline or Bezier spline curve.  

OPTIONS

-a
selects display of control points only (no spline curve)
-B
Indicates use of the Bezier spline rather than the B-spline
-b
selects display of spline curve only (no control points)
-c n
Selects one of many different color wheels to use. The default color wheel is a rainbow palette.
-D delay
Specifies the length of delay to use when spinning the color wheel
-E
Indicates to erase the previous control points as the new ones are drawn, displaying only the current control points
-e
Indicates to erase the previous curve as the new one is drawn, displaying only the current spline curve
-F
Indicates to use the full screen
-f
Indicates to not use fill mode, drawing control points as circles rather than disks
-I
Indicates use of the Infinite mode. There is no limit to the number of curves drawn
-w n
Specifies the width of the window. Default is 512.
-h n
Specifies the height of the window. Default is 512.
-l n
Specifies the number of successive curves to draw before starting a new sequence or exiting. Default is width x height.
-m n
Specifies the minimum color index to be used for the upper end of the color wheel
-n numpics
Specifies how many sequences of curves to compute before exiting. During display (see NOTES below), pressing 'n' or 'N' will skip to the next map.
-N nballs
Specifies how many control points to simultaneously compute and display
-o filename
Specifies the output filename to be used. If the -o option is given, this file will automatically be written out at the completion of the drawing. If it is not specified, a default filename of splines.ppm is used and only written if the 'f' or 'F' keys are pressed during a run. The format of the output file is PPM. The parameters used to calculate the picture are included as comments at the beginning of the output file.
-p nsteps
Specifies how many steps to use in the spline curve computation. Default is 50
-R
Indicates the display will be in the root window. In this mode, the default color map will be used and no spinning of the color wheel is possible.
-W
Indicates the control points will perform a pseudo-random walk
-r
Specifies random selection of modes and parameters
-S /fInaptime
Specifies the interval to delay between drawing curves
-s
Indicates to spin the color wheel immediately upon completion of display.
-u
Produces a usage message.
-X radius
Specifies the length of X-axis of the control points. Default is 5.
-x
Indicates not to use XOR as drawing mode (no erasing)
-Y radius
Specifies the length of Y-axis of the control points. Default is 4.

 

NOTES

During display, use of the keys +-><bBcCdDeEfFgGiIkKLnNpPrRsSwWxX?hqQ indicates:


           (>) Increment delay between curve drawings.
           (<) Decrement delay between curve drawings.
           (+) Increment minimum color index.
           (-) Decrement minimum color index.
           (b or B) Toggles use of Bezier and B-spline algorithms
           (c) Clears the window
           (C) Create another control point, preserving the existing ones.
           (d or D) Decrements or increments the delay used when spinning the color wheel
           (e or E) Erase the spline curve or control points as you go
           (f or F) Save the current window to a file in PPM format
           (g or G) Toggle drawing control points as circles or disks
           (i or I) Toggle checking for exceeding the limit on number of curves
           (k or K) Toggle display of control points or spline curves
           (L) Delete one of the control points
           (n or N) Skip to the next series of splines.
           (p or P) Decrement or increment the number of steps per spline curve
           (R) Toggle pseudo-random walk of control points
           (S) Stop spinning the color wheel
           (s) Spin the color wheel in the positive direction.
           (r) Spin the color wheel in the negative direction.
           (W or w) Increment or decrement the color map index.
           (x) Toggle drawing between XOR and COPY modes
           (X) Erase the existing control points and restart the computation and display
           (Q or q) quit

 

AUTHOR

        Ronald Joe Record
     The Santa Cruz Operation 
          P.O. Box 1900
       Santa Cruz, CA 95061
            rr@sco.com

 

ACKNOWLEDGEMENTS

The original bouncing ball program was written by Gever Tulley in CGI. Assistance with colormaps and spinning color wheels and X was gleaned from Hiram Clawson and Stacey Campbell.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
NOTES
AUTHOR
ACKNOWLEDGEMENTS

This document was created by man2html, using the manual pages.
Time: 20:43:53 GMT, June 11, 2022